package com.cxy.datawarehouse.mapper;

import com.cxy.datawarehouse.entity.Element;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ElementMapper extends JpaRepository<Element,Long>, JpaSpecificationExecutor<Element> {
    List<Element> getElementByTypeId(Long id);
}
